package com.example.user.mapper;


import com.example.user.entity.AddressManagement;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface AddressMapper {

    List<AddressManagement> getAddressManagement();

    int updateAddress(@Param("addressManagement") AddressManagement addressManagement);

    int addAddress(@Param("addressManagement") AddressManagement addressManagement);

    int deleteById(@Param("id") Integer id);
}
